/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ex1;

import java.io.File;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;

/**
 *
 * @author LamHuynh
 */
public class Ex1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        try {
            SAXParserFactory spf = SAXParserFactory.newInstance();
            SAXParser  parser = spf.newSAXParser();
            SaxProcessing sp = new SaxProcessing();
            parser.parse(new File("tomcat-users.xml"), sp);
        } catch (Exception e) {
        }
    }
}
